using System;
using System.Collections;
using System.Text;

using Qiang.Topology.Geometries;
using Qiang.Topology.GeometriesGraph;

namespace Qiang.Topology.Operation.Relate
{
    /// <summary>
    /// Used by the {NodeMap} in a {RelateNodeGraph} to create {RelateNode}s.
    /// </summary>
    public class RelateNodeFactory : NodeFactory
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="coord"></param>
        /// <returns></returns>
        public override Node CreateNode(Coordinate coord)
        {
            return new RelateNode(coord, new EdgeEndBundleStar());
        }
    }
}
